
//
//  LYHeadViewModel.m
//  音伴尔家听宝
//
//  Created by Burgess on 2017/6/16.
//  Copyright © 2017年 Burgess. All rights reserved.
//

#import "LYHeadViewModel.h"

@implementation LYHeadViewModel

//@property (nonatomic, copy) NSString *name;
//@property (nonatomic, copy) NSString * _description;
//@property (nonatomic, copy) NSString * mob_small_img;
//@property (nonatomic, copy) NSString * cat_name;
//@property (nonatomic, copy) NSString * mob_icon_120;

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.name = dict[@"name"];
        self._description = dict[@"description"];
        self.mob_small_img = dict[@"mob_small_img"];
        self.cat_name = dict[@"cat_name"];
        self.mob_icon_120 = dict[@"mob_icon_120"];
        
    }
    return self;
}

+ (instancetype)appWithDict:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
}
@end
